import 'package:objectbox/objectbox.dart';

@Entity()
class Event {
  @Id()
  int id = 0;

  //项目名称
  String? name;

  //计数
  int totalCount = 0;

  //完成
  int doneCount = 0;

  bool isEmpty() {
    return id == 0;
  }
}
